const { log } = require("console")
var fs = require("fs")
fs.readFile('en1.txt',"utf8",function(a,b){
console.log(a);
console.log(b);



})
const en2 =  fs.readFileSync('en1.txt',"utf8")
console.log(en2);



fs.writeFile("output.txt","utf81",function (a,b) {
    console.log(a);
    console.log(b);
    
    
})

const en3 = fs.writeFileSync("output.txt","1234656789")
console.log(en3);


const en5 =  fs.appendFile("en1.txt","123456","utf8")
console.log(en5);

